projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fff8bfc
)
Disable 'timer-list'
author
Eli Zaretskii
<eliz@gnu.org>
Tue, 9 Feb 2016 18:30:54 +0000
(20:30 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Tue, 9 Feb 2016 18:30:54 +0000
(20:30 +0200)
* lisp/emacs-lisp/timer-list.el: Make 'timer-list' a disabled
command.
lisp/emacs-lisp/timer-list.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/timer-list.el
b/lisp/emacs-lisp/timer-list.el
index b54902a45f832cf2df9e242b47506f2934753fe1..eba152325c2b89d5f95c328c2fa8092b4a37d0be 100644
(file)
--- a/
lisp/emacs-lisp/timer-list.el
+++ b/
lisp/emacs-lisp/timer-list.el
@@
-74,6
+74,9
@@
'timer timer)
(insert "\n")))
(goto-char (point-min)))
+;; This command can be destructive if they don't know what they are
+;; doing. Kids, don't try this at home!
+;;;###autoload (put 'timer-list 'disabled "Beware: manually canceling timers can ruin your Emacs session.")
(defvar timer-list-mode-map
(let ((map (make-sparse-keymap)))